<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<ul>
			<li>苹果</li>
			<li class="odd">梨子</li>
			<li>香蕉</li>
			<li class="odd clearfix">榴莲</li>
		</ul>
		
		
		<script type="text/javascript">
			
			let lizi = document.getElementsByClassName('odd clearfix')[0]
			alert(lizi.textContent)
			
		</script>
	</body>
</html>
